<template>
    <div>
        <el-button :plain="true" @click="open">Show message</el-button>
    </div>
</template>

<script setup>
import { ElMessage } from 'element-plus'

const open = () => {
  ElMessage('This is a message.')
}
</script>

<style scoped>

</style>